package com.luo.pojo.question.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class QuestionVO implements Serializable {
    private Integer id;


    private String title;


    private String content;

    private String nickname;


    private Integer userId;


    private Integer status;


    private Integer pageViews;


    private Integer collectViews;


    private Integer commentViews;


    private Integer publicStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreate;

    private Integer tagId;

    private String pictures;

    //显示发布时间字段，方便前端显示
    private String duration;

    private Boolean isCollect;

    private String avatar;

}
